<h3>
  <%= link_to "Alias #{@photo.ualia.name}'s Photos", 
  {:controller=>'ualia_photos',:action=>'index',:ualia_id => @photo.ualia} %>
</h3>
<h2><%=h @photo.title %></h2>
<p><%=h @photo.body %>


  <p>
    <%= link_to 'Edit', {:controller=>'ualia_photos',:action=>'edit',:ualia_id=>@photo.ualia, :id=>@photo} %>, 
    <%= link_to 'Delete', {:controller=>'ualia_photos',:action=>'destroy',:ualia_id=>@photo.ualia, :id=>@photo}, 
                                          :confirm => 'Are you sure?', 
                                          :method => :delete %>
  </p>


<%= image_tag @photo.public_filename, :id => 'photo' %>
